<?php
$html->addCrumb('Admin','/admin/roles/');
$html->addCrumb('Rolle anlegen','/admin/roles/add');

echo  $this->element('tasks',array('target'=>'/admin/roles/'));
?>

<div class="title">Rolle anlegen</div>
<?php echo $this->element('flashMessage') ?>


<?php
echo $this->Form->create(null,array('action'=>'add','class'=> 'form',));

echo $this->Form->input('role_name', array('label' => 'Rollen-Name*'));
echo $this->Form->input('description',  array('label' => 'Beschreibung*'));

echo '<div class="form_div_buttons">';
echo '<input type="submit" name="Speichern" value="Speichern">';
echo $this->Html->link('Abbrechen',array('action'=>'index'),array('escape'=>false));
echo '</div>';
echo $this->Form->end();

?>
